# Maintainer: Hakan Erduman <hakan@erduman.de>
pkgname=xfce4-docklike-plugin
pkgver=0.4.0
pkgrel=0
pkgdesc="Modern, minimalist taskbar for Xfce"
url="https://docs.xfce.org/panel-plugins/xfce4-docklike-plugin/start"
arch="all"
license="GPL-3.0-only"
makedepends="xfce4-panel-dev libxfce4ui-dev libwnck3-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-docklike-plugin/${pkgver%.*}/xfce4-docklike-plugin-$pkgver.tar.bz2
	0001-basename-called-but-libgen.h-not-included.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
4da41fc9ebae96e706ce4def8c34d214bcd92910a19ea89d3a83bb2a24665a2382d5006908048756501c7e21475b5ff4043eedf6463a8b5294eaa2b2720149bc  xfce4-docklike-plugin-0.4.0.tar.bz2
1b9ac50fd20f1bbe17a7287326e69a8e86b8715209a03392a522b44bbe06912210f035e726979a0304222ac4bfd72e6c985906ec29ffbf4d23380fbfd4780da4  0001-basename-called-but-libgen.h-not-included.patch
"
